home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11725 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  717 b 

  1. Path: zombie.ncsc.mil!usenet
  2. From: Andy Rounds <awrounds@zombie.ncsc.mil>
  3. Newsgroups: comp.lang.c++
  4. Subject: accessing the floppy drive
  5. Date: 15 Mar 1996 22:16:51 GMT
  6. Organization: Beyond The Great Beyond
  7. Message-ID: <4icq8j$cj8@zombie.ncsc.mil>
  8. NNTP-Posting-Host: zombie.ncsc.mil
  9.  
  10. I am using Borland C++4.02 in Windows
  11.  
  12. I would like to test for the existence of a floppy disk in the A drive.
  13. How do I do this elegantly?  If I try to open a file that I expect to
  14. be on the floppy, then I get a windows system error and an ugly win3.1
  15. messagebox pops up. I would like to handle this error with my own code.
  16. I know it can be done, I've seen WordPerfect do it!
  17.  
  18. Any hints or ideas will make me eternally grateful.
  19.  
  20. Andy
  21.